package com.tanhua.dubbo.api.db;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.domain.db.SoultestConclusion;
import com.tanhua.dubbo.api.db.SoultestConclusionApi;
import com.tanhua.dubbo.mapper.SoultestConclusionMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
@Service
public class SoultestConclusionApiImpl implements SoultestConclusionApi {
    @Autowired
    private SoultestConclusionMapper soultestConclusionMapper;

    @Override
    public SoultestConclusion getConclusion(Long type) {
        QueryWrapper queryWrapper=new QueryWrapper();
        queryWrapper.eq("type",type);
        return soultestConclusionMapper.selectOne(queryWrapper);
    }
}
